package top.qform.config;

import org.springframework.boot.context.properties.ConfigurationPropertiesBinding;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.qform.converter.WeightConverter;

@Configuration
public class PropertiesConfig {

    @Bean
    @ConfigurationPropertiesBinding
    public WeightConverter getWeightConverter() {
        return new WeightConverter();
    }

}
